Skip to content

Issues/1449 - Improve Linux Keyring Support with Keyctl Fallback #1451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 19, 2025

Conversation

mauriciocoder
Copy link
Contributor

Overview

This PR enhances the keyring system to provide support for headless Linux environments by implementing a composite keyring provider with keyctl as a fallback backend.

Key Changes

🔧 New Composite Keyring Architecture

  • Introduced a new Provider interface for pluggable keyring backends
  • Implemented a composite provider that automatically selects the best available backend
  • Maintains full backward compatibility with existing keyring functionality

🐧 Linux Keyctl Support

  • Added keyctl provider as a fallback for Linux systems where D-Bus Secret Service is unavailable
  • Particularly beneficial for headless Linux environments, containers, and minimal installations

🧪 Comprehensive Testing

  • Added full test coverage for all new keyring providers

Resolves #1449

JAORMX
JAORMX previously approved these changes Aug 19, 2025
@mauriciocoder
Copy link
Contributor Author

@JAORMX I need your review again after I merged it with the main branch.

@JAORMX JAORMX merged commit db3b158 into stacklok:main Aug 19, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Keyring Fallback Support for Headless Linux Systems
2 participants